﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>经纪人管理-用户及权限设置-用户列表</title>
 <#include "../common/Resources.ftl"/>
 <link href="${base}/scripts/plugin/ligerUI/skins/Aqua/css/ligerui-all.css"
	rel="stylesheet" type="text/css" />
<link href="${base}/scripts/plugin/ligerUI/skins/ligerui-icons.css"
	rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/scripts/common/ListUI.liger.js"></script>
<script type="text/javascript" src="${base}/scripts/plugin/jquery.form.js"></script>
<script type="text/javascript" src="${base}/scripts/plugin/ligerUI/js/ligerui.all.js"></script>
<script type="text/javascript" src="${base}/scripts/common/custom.js"></script>
<script type="text/javascript" src="${base}/scripts/common/general.js"></script>
<script type="text/javascript" src="${base}/scripts/module/manage/PersonManager.js"></script>
</head>
<body>
			<div class="list_Content">
				
				<div class=" tool">
					<div class="fr">
						<div class="breadCrumb">您的位置：<span class="current">用户权限列表 </span></div>
					</div>
				</div>
				<div class="">
					<!--搜索 -->
					<div class="SearchCondition">
						<div class="Sub_Search">
							<table border="0" cellpadding="0" cellspacing="0">
								<tr>
									<th width="">搜索用户：</th>
									<td><input class="w_130" type="text" id="personName" name="personName"/></td>
									<!-- <th width="">组织类别：</th>
									<td>
									 <select name="controUnit" id="controUnit">
										<#if orgList??> <#list orgList as op>
										<option value="${op.id?if_exists}">${op.name?if_exists}</option>
										</#list> </#if>
								    </select>
									</td> -->
									<td class="ButtonClass"><a
										class="mini-button importantBtn" href="javaScript:refurbish();"><span
											class="mini-button-text mini-button-icon icon-search">查询</span>
									</a>
									</td>
								</tr>
							</table>
						</div>

					</div>
					<!--//搜索 -->

					<!--tab -->
					<div class="tabs">
						<ul>
						 <#if optCodes.ResouseMangage_UserManage_ListViewActiveUser?? || person.number?index_of('admin')&gt;1>
							<li class="current" id="isForbiddenO"><a href="javascript:isForbiddenO();">有效用户</a></li>
						 </#if>
						 <#if optCodes.ResouseMangage_UserManage_ListViewDormancyUser?? || person.number?index_of('admin')&gt;1>
							<li id="isForbidden1"> <a href="javascript:isForbidden1();">休眠用户</a></li>
						 </#if>
						</ul>
						<input name="isForbidden" id="isForbidden" type="hidden" value="0"/>	
						<input name="personNumber" id="personNumber" type="hidden" value="${person.number!''}"/>
						<input name="optCodesListDisplay" id="optCodesListDisplay" type="hidden" value="${optCodes.ResouseMangage_UserManage_ListDisplay!''}"/>	
						<input name="optCodesListEdit" id="optCodesListEdit" type="hidden" value="${optCodes.ResouseMangage_UserManage_ListEdit!''}"/>	
						<input name="optCodesListViewUserDetail" id="optCodesListViewUserDetail" type="hidden" value="${optCodes.ResouseMangage_UserManage_ListViewUserDetail!''}"/>	
					</div>
					<!--//tab -->
					<div id="tableContainer"></div>
				</div>
			</div>

</body>
<script>
	$(document).ready(function() {
		com.green.web.PersonManager.init();
	});
	
	isForbiddenO = function() {		
		$("#isForbiddenO").addClass("current");
		$("#isForbidden1").removeClass("current");
		$("#isForbidden").val(0);
		refurbish();
	}
	isForbidden1 = function() {
		$("#isForbidden1").addClass("current");
		$("#isForbiddenO").removeClass("current");
		$("#isForbidden").val(1);
		refurbish();
	}
	refurbish = function() {
		com.green.web.PersonManager.queryData();
	}
</script>
</html>
